<template>
      <van-row>
      <van-col span="3">
        <van-image
          round
           width="0.8rem"
          height="0.8rem"
          class="userIcon"
          src="https://img01.yzcdn.cn/vant/cat.jpeg"
        />
      </van-col>
      <van-col span="20">
        <van-cell-group>
          <van-field
            v-model="inputVal"
            left-icon="search"
            placeholder="显示图标"
          /> </van-cell-group
      ></van-col>
    </van-row>
</template>

<script>
export default {
  name:'SearchBox',
  // props:[inputVal],
  data(){
    return {
      inputVal:''
    }
  }
}
</script>

<style lang="less" scoped>
.userIcon {
    // text-align: center;
    padding: .2rem;
}
.searchInputStyle {
  // float: right;
  width: 60%;
}
</style>